Optimal. Leaf size=85 \[ -\frac{(a+b x)^{n+1} (c+d x)^p \left (\frac{b (c+d x)}{b c-a d}\right )^{-p} F_1\left (n+1;-p,1;n+2;-\frac{d (a+b x)}{b c-a d},\frac{a+b x}{a}\right )}{a (n+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.11613, antiderivative size = 85, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ -\frac{(a+b x)^{n+1} (c+d x)^p \left (\frac{b (c+d x)}{b c-a d}\right )^{-p} F_1\left (n+1;-p,1;n+2;-\frac{d (a+b x)}{b c-a d},\frac{a+b x}{a}\right )}{a (n+1)} \]
Antiderivative was successfully verified.
[In] Int[((a + b*x)^n*(c + d*x)^p)/x,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 17.5235, size = 63, normalized size = 0.74 \[ - \frac{\left (\frac{b \left (- c - d x\right )}{a d - b c}\right )^{- p} \left (a + b x\right )^{n + 1} \left (c + d x\right )^{p} \operatorname{appellf_{1}}{\left (n + 1,1,- p,n + 2,\frac{a + b x}{a},\frac{d \left (a + b x\right )}{a d - b c} \right )}}{a \left (n + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)**n*(d*x+c)**p/x,x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 0.38233, size = 214, normalized size = 2.52 \[ \frac{b d x (n+p-1) (a+b x)^n (c+d x)^p F_1\left (-n-p;-n,-p;-n-p+1;-\frac{a}{b x},-\frac{c}{d x}\right )}{(n+p) \left (b d x (n+p-1) F_1\left (-n-p;-n,-p;-n-p+1;-\frac{a}{b x},-\frac{c}{d x}\right )-a d n F_1\left (-n-p+1;1-n,-p;-n-p+2;-\frac{a}{b x},-\frac{c}{d x}\right )-b c p F_1\left (-n-p+1;-n,1-p;-n-p+2;-\frac{a}{b x},-\frac{c}{d x}\right )\right )} \]
Warning: Unable to verify antiderivative.
[In] Integrate[((a + b*x)^n*(c + d*x)^p)/x,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.079, size = 0, normalized size = 0. \[ \int{\frac{ \left ( bx+a \right ) ^{n} \left ( dx+c \right ) ^{p}}{x}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)^n*(d*x+c)^p/x,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x + a\right )}^{n}{\left (d x + c\right )}^{p}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^n*(d*x + c)^p/x,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (b x + a\right )}^{n}{\left (d x + c\right )}^{p}}{x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^n*(d*x + c)^p/x,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)**n*(d*x+c)**p/x,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (b x + a\right )}^{n}{\left (d x + c\right )}^{p}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)^n*(d*x + c)^p/x,x, algorithm="giac")
[Out]